Skip to content

ci: Dedup flaky test issues across esm/cjs variants#21595

Merged
nicohrubec merged 2 commits into
developfrom
fix/flaky-issues-dedup-esm-cjs
Jun 17, 2026
Merged

ci: Dedup flaky test issues across esm/cjs variants#21595
nicohrubec merged 2 commits into
developfrom
fix/flaky-issues-dedup-esm-cjs

Conversation

@nicohrubec

@nicohrubec nicohrubec commented Jun 17, 2026

Copy link
Copy Markdown
Member

Our node integration tests all run for both esm and cjs, resulting in duplicate flaky test issues for both variants. This normalizes the test name so these are correctly deduped.

Suites that run under both module formats nest the variant as an
`esm/cjs > esm` / `esm/cjs > cjs` describe pair, producing two separate
flaky-test issues for the same underlying test. Normalize the test name
to drop the format leaf so both variants dedupe to a single issue.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 46395bd. Configure here.

Comment thread scripts/report-ci-failures.mjs
Use the normalized test name for the issue title and log lines so esm/cjs
variants dedupe, while the body keeps the concrete variant that failed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@nicohrubec nicohrubec marked this pull request as ready for review June 17, 2026 08:27
@nicohrubec nicohrubec changed the title fix(ci): Dedup flaky test issues across esm/cjs variants ci: Dedup flaky test issues across esm/cjs variants Jun 17, 2026
@nicohrubec nicohrubec requested review from andreiborza and mydea June 17, 2026 08:27

@andreiborza andreiborza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@nicohrubec nicohrubec enabled auto-merge (squash) June 17, 2026 08:31
@nicohrubec nicohrubec merged commit 97d01f9 into develop Jun 17, 2026
42 checks passed
@nicohrubec nicohrubec deleted the fix/flaky-issues-dedup-esm-cjs branch June 17, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants